package com.javabank.ws.dao.impl;

import com.javabank.ws.dao.AccountDAO;
import com.javabank.ws.dao.DAOFacade;
import com.javabank.ws.dao.TransactionDAO;

public class DAOFacadeImpl implements DAOFacade {
	private AccountDAO accountDAO;
	private TransactionDAO transactionDAO;
	
	public DAOFacadeImpl() {
		accountDAO = new AccountDAOImpl();
		transactionDAO = new TransactionDAOImpl();
	}

	@Override
	public AccountDAO getAccountDAO() {
		return accountDAO;
	}

	@Override
	public TransactionDAO getTransactionDAO() {
		return transactionDAO;
	}

}
